Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Attachment: Note not found
Feedback Type: Question
Product Area: Notes Client
Technical Area: Application Development
Platform: Windows
Release: 8.5.1
Reproducible: Always

Hi

I have a Notes Document (for example a eMail) - this document contains 1 attachment in a RichTextItem (lets call it document.txt). I use LotusScript to remove the attachment. I now have a document that still contains the RichTextItem, the icon displaying the attachment type and the name of the attachment. This is exactly as I want it to be (we are archiving the attachments :o) I place a button in the RichTextItem to restore the attachment - if the user presses the button the attachment is reattached and the user can now double-click the attachment to open the file.

Here is my problem:

If the user ignores the button and just double-clicks the attachment (without first doing a restore) s/he gets the error message "Note item not found" - this is understandable and totally correct - what I would love to do is intercept the error and automatically restore the attachment - I already have the code to restore the file but have nowhere to place it. I have tried creating a link around the icon but just cannot get it to work for me...

any ideas?

Thanks for any help given
Ursus


Feedback number WEBB86GLRT created by ~Kirk Cisponegenetsi on 06/16/2010

Status: Open
Comments:





Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS